-- card: 2998 from stack: in.0 -- bmap block id: 47371 -- flags: 4000 -- background id: 2747 -- name: ----- HyperTalk script ----- on idle put the short time into line 1 of cd fld "Time" put the short date into line 2 of cd fld "Time" if locktext of cd field "CountDown" = true then put the long date && the long time into now convert now to seconds put "1/01/2000 12:00:01 AM" into EndTime convert EndTime to seconds if now > EndTime then beep 5 answer "Your clock is either wrong…" answer "or you are running very old Software!" with "Control Panel" or "Edit Script" if it = "Control Panel" then doMenu "Control Panel" else Edit Script of this card exit idle end if put EndTime - now into diff Divide diff by 86400 put trunc(diff) into days subtract days from diff multiply diff by 24 put trunc(diff) into hours subtract hours from diff multiply diff by 60 put trunc(diff) into minutes subtract minutes from diff multiply diff by 60 put trunc(diff) into seconds put "There are" && days && "days," && hours & " hours," && minutes && "minutes, and" && seconds & " seconds until the end" && "of the century!" into cd fld "CountDown" end if end idle -- part 9 (field) -- low flags: 01 -- high flags: 0000 -- rect: left=163 top=215 right=235 bottom=454 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 204 -- text size: 12 -- style flags: 1280 -- line height: 16 -- part name: Intro -- part 12 (button) -- low flags: 00 -- high flags: 2000 -- rect: left=467 top=17 right=48 bottom=503 -- title width / last selected line: 0 -- icon id / first selected line: 6179 / 6179 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: ----- HyperTalk script ----- on mouseUp play "Forward!" repeat 5 set icon of me to "Sml Next Hand" set icon of me to "Med Next Hand" set icon of me to "Lge Next Hand" set icon of me to "Ex Lge Next Hand" set icon of me to "Lge Next Hand" set icon of me to "Med Next Hand" end repeat set icon of me to "Sml Next Hand" visual effect dissolve slow go card id 3127 end mouseUp -- part 13 (field) -- low flags: 01 -- high flags: 2000 -- rect: left=225 top=241 right=315 bottom=381 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 3 -- text size: 12 -- style flags: 8448 -- line height: 16 -- part name: CountDown -- part 14 (field) -- low flags: 80 -- high flags: 0000 -- rect: left=79 top=133 right=145 bottom=91 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 216 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Time -- part 15 (button) -- low flags: 00 -- high flags: 2000 -- rect: left=468 top=236 right=270 bottom=504 -- title width / last selected line: 0 -- icon id / first selected line: 19254 / 19254 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Open Stack ----- HyperTalk script ----- on mouseUp play "what is thy bidding?" domenu "open stack..." end mouseUp -- part contents for card part 9 ----- text ----- Wednesday, February 12, 1992 -- part contents for card part 14 ----- text ----- 12:15 PM 2/12/92 -- part contents for card part 13 ----- text ----- There are 2879 days, 11 hours, 44 minutes, and 45 seconds until the end of the century!